﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="stack.aspx.cs" Inherits="stack" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
//        var stack = new Array();
//        stack.push(MyClass("夏"));
//        stack.push(MyClass("华"));
//        stack.push(MyClass("啊"));

//        stack.pop();
//        var o = stack.pop();

//        var a = 1;

//        function MyClass(str){
//            this.name=str;
//        }
        //var dic = new ActiveXObject("Scripting.Dictionary");
        //dic.add("0", "test");
        //js栈里面不能存放对象

        //dic
        //alert("");
        var array = Array();
        array.push("1");
        array.push("3");
        
        alert(array[0]);

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    </form>
</body>
</html>
